<template>
  <input type="text" value="pig">
  <input type="text" value="dog">
  <input type="text" v-bind:value="uName">
  <hr>
  <a :href="url">跳转链接</a>
  <a href="https://www.jd.com" :title="title">跳转链接2</a>
</template>

<script setup>
import {ref} from "vue";
const uName =ref('rose')
const url =ref('https://www.baidu.com')

const title = ref('618大促开始啦！');
</script>

<style scoped>

</style>